<?php
/**
 * Created by JetBrains PhpStorm.
 * User: SonHA
 * Date: 02/05/13
 * Time: 3:24 PM
 */
/* @var $item Product */
?>
<div class="box_wrapper_title22">
    <div class="box_wrapper_title">
        <span class="title-icon">
        </span>
        <div class="title_pic">
            <img src="<?php echo Yii::app()->request->baseUrl; ?>/css/images/categories.png"
                 alt="<?php echo $category->name?>"
                 title="<?php echo $category->name?>"
                 width="40"
                 height="40">
        </div>
        <h1><?php echo $category->name?></h1>
    </div>
</div>
<div class="contentContainer first">
<?php $this->renderPartial('/site/_products_new', array('items' => $items)) ?>
</div>
<div id="pagination">
    <?php $this->widget('bootstrap.widgets.TbPager', array(
        'pages' => $pages,
        'htmlOptions' => array('class' => 'pager'),
        'header' => ''
    ));?>
    <?php
    //    $this->widget('CListPager', array(
    //        'pages' => $pages,
    //        'htmlOptions' => array('class' => 'pager'),
    //        'header' => ''
    //    ));
    ?>

</div>